<script setup lang="ts">
import { ref, onMounted,useTemplateRef } from 'vue'
import { RouterView } from 'vue-router'
import MessageBoxContainer from './components/dialog/MessageBoxContainer.vue';
// import { MessageBox } from './utils/MessageBox';
// const msgbox_container = useTemplateRef<InstanceType<typeof MessageBoxContainer>>('msgbox_container')
// onMounted(() => {
//     MessageBox.messagebox_container=msgbox_container.value
// })
</script>

<template>
  <RouterView />
  <MessageBoxContainer ref="msgbox_container"/>
</template>

<style scoped>

</style>
